package com.hksj.cm.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName particleLevelSetting
 * @Description TODO
 * @Author @陈章
 * @Date 2024/7/23 17:55
 * @Version 1.0
 */
@ApiModel(value = "粒子整体评级", description = "粒子整体评级")
@Data
@TableName(value = "hk_particle_level_setting")
public class ParticleLevelSetting {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 粒子id
     */
    @ApiModelProperty(value = "粒子(0.5μm粒子、5μm粒子)")
    @TableField(value = "particle_value")
    private String particleValue;


    /**
     * 粒子id
     */
    @ApiModelProperty(value = "是否选中")
    @TableField(value = "choose")
    private String choose;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(timezone = "Asia/Shanghai", pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(timezone = "Asia/Shanghai", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
